package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesSaleOrderChangeDTO;
import com.hunttown.mes.rpc.domain.query.MesSaleOrderChangeDTOQuery;

/**
 * created by wangjunfu on 2022-09-08 15:57:47
 */
public interface MesSaleOrderChangeRpcService {

    MesSaleOrderChangeDTO insert(MesSaleOrderChangeDTO mesSaleOrderChangeDTO);

    Boolean updateInfoById(MesSaleOrderChangeDTO mesSaleOrderChangeDTO);

    Boolean updateInfoByQuery(MesSaleOrderChangeDTOQuery mesSaleOrderChangeDTOQuery);

    MesSaleOrderChangeDTO selectById(Integer id);

    MesSaleOrderChangeDTO selectObjByQuery(MesSaleOrderChangeDTOQuery mesSaleOrderChangeDTOQuery);

    Page<MesSaleOrderChangeDTO> getListForPage(MesSaleOrderChangeDTOQuery mesSaleOrderChangeDTOQuery);

    Boolean deleteById(Integer id);
}